Magnetic Field Due To A Bar Magnet Physics